// Created from GenerationTemplate
// For Decisions HL7 Engine
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Reflection;
using DecisionsFramework.Design.Properties;
using Decisions.HL7.Generated.AbstractMessage;
using Decisions.HL7.DataTypes;
using ST = System.String;
using SI = System.String;
using TX = System.String;
using FT = System.String;
using IS = System.String;
using ID = System.String;
using SNM = System.String;

namespace Decisions.HL7.Message
{
    [DataContract]
	public class GT1 : AbstractSegment
    {

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("1 Set ID - Guarantor",1)]
  	    [HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.True,"SI")]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.True,"SI")]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.True,"SI")]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.True,"SI")]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.True,"SI")]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.True,"SI")]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.True,"SI")]
	    public SI SetIDGuarantor {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("2 Guarantor Number",2)]
  	    [HL7Field(HL7Version.v23, 2, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v231, 2, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v24, 2, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v25, 2, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v251, 2, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v26, 2, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v27, 2, HL7Repeat.True, HL7Required.True,"CX")]
	    public CX[] GuarantorNumber {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("3 Guarantor Name",3)]
  	    [HL7Field(HL7Version.v23, 3, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v231, 3, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v24, 3, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v25, 3, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v251, 3, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v26, 3, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v27, 3, HL7Repeat.True, HL7Required.True,"XPN")]
	    public XPN[] GuarantorName {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("4 Guarantor Spouse Name",4)]
  	    [HL7Field(HL7Version.v23, 4, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v231, 4, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v24, 4, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v25, 4, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v251, 4, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v26, 4, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v27, 4, HL7Repeat.True, HL7Required.True,"XPN")]
	    public XPN[] GuarantorSpouseName {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("5 Guarantor Address",5)]
  	    [HL7Field(HL7Version.v23, 5, HL7Repeat.True, HL7Required.True,"XAD")]
  	    [HL7Field(HL7Version.v231, 5, HL7Repeat.True, HL7Required.True,"XAD")]
  	    [HL7Field(HL7Version.v24, 5, HL7Repeat.True, HL7Required.True,"XAD")]
  	    [HL7Field(HL7Version.v25, 5, HL7Repeat.True, HL7Required.True,"XAD")]
  	    [HL7Field(HL7Version.v251, 5, HL7Repeat.True, HL7Required.True,"XAD")]
  	    [HL7Field(HL7Version.v26, 5, HL7Repeat.True, HL7Required.True,"XAD")]
  	    [HL7Field(HL7Version.v27, 5, HL7Repeat.True, HL7Required.True,"XAD")]
	    public XAD[] GuarantorAddress {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("6 Guarantor Ph Num - Home",6)]
  	    [HL7Field(HL7Version.v23, 6, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v231, 6, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v24, 6, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v25, 6, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v251, 6, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v26, 6, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v27, 6, HL7Repeat.True, HL7Required.True,"XTN")]
	    public XTN[] GuarantorPhNumHome {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("7 Guarantor Ph Num - Business",7)]
  	    [HL7Field(HL7Version.v23, 7, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v231, 7, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v24, 7, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v25, 7, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v251, 7, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v26, 7, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v27, 7, HL7Repeat.True, HL7Required.True,"XTN")]
	    public XTN[] GuarantorPhNumBusiness {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("8 Guarantor Date/Time Of Birth",8)]
  	    [HL7Field(HL7Version.v23, 8, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v231, 8, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v24, 8, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v25, 8, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v251, 8, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v26, 8, HL7Repeat.False, HL7Required.True,"DTM")]
  	    [HL7Field(HL7Version.v27, 8, HL7Repeat.False, HL7Required.True,"DTM")]
	    public DTM GuarantorDateTimeOfBirth {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("9 Guarantor Sex",9)]
  	    [HL7Field(HL7Version.v23, 9, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 9, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v24, 9, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v25, 9, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v251, 9, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v26, 9, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v27, 9, HL7Repeat.False, HL7Required.True,"CWE")]
		[AdministrativeSex]
	    public CWE GuarantorSex {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("10 Guarantor Type",10)]
  	    [HL7Field(HL7Version.v23, 10, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 10, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v24, 10, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v25, 10, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v251, 10, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v26, 10, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v27, 10, HL7Repeat.False, HL7Required.True,"CWE")]
		[GuarantorType]
	    public CWE GuarantorType {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("11 Guarantor Relationship",11)]
  	    [HL7Field(HL7Version.v23, 11, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 11, HL7Repeat.False, HL7Required.True,"CE_0063")]
  	    [HL7Field(HL7Version.v24, 11, HL7Repeat.False, HL7Required.True,"CE_0063")]
  	    [HL7Field(HL7Version.v25, 11, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 11, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 11, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 11, HL7Repeat.False, HL7Required.True,"CWE")]
		[Relationship]
	    public CWE GuarantorRelationship {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("12 Guarantor SSN",12)]
  	    [HL7Field(HL7Version.v23, 12, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v231, 12, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v24, 12, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v25, 12, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v251, 12, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v26, 12, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v27, 12, HL7Repeat.False, HL7Required.True,"ST")]
	    public ST GuarantorSSN {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("13 Guarantor Date - Begin",13)]
  	    [HL7Field(HL7Version.v23, 13, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v231, 13, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v24, 13, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v25, 13, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v251, 13, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v26, 13, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v27, 13, HL7Repeat.False, HL7Required.True,"DT")]
	    public DT GuarantorDateBegin {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("14 Guarantor Date - End",14)]
  	    [HL7Field(HL7Version.v23, 14, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v231, 14, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v24, 14, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v25, 14, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v251, 14, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v26, 14, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v27, 14, HL7Repeat.False, HL7Required.True,"DT")]
	    public DT GuarantorDateEnd {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("15 Guarantor Priority",15)]
  	    [HL7Field(HL7Version.v23, 15, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v231, 15, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v24, 15, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v25, 15, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v251, 15, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v26, 15, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v27, 15, HL7Repeat.False, HL7Required.True,"NM")]
	    public NM GuarantorPriority {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("16 Guarantor Employer Name",16)]
  	    [HL7Field(HL7Version.v23, 16, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v231, 16, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v24, 16, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v25, 16, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v251, 16, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v26, 16, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v27, 16, HL7Repeat.True, HL7Required.True,"XPN")]
	    public XPN[] GuarantorEmployerName {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("17 Guarantor Employer Address",17)]
  	    [HL7Field(HL7Version.v23, 17, HL7Repeat.True, HL7Required.True,"XAD")]
  	    [HL7Field(HL7Version.v231, 17, HL7Repeat.True, HL7Required.True,"XAD")]
  	    [HL7Field(HL7Version.v24, 17, HL7Repeat.True, HL7Required.True,"XAD")]
  	    [HL7Field(HL7Version.v25, 17, HL7Repeat.True, HL7Required.True,"XAD")]
  	    [HL7Field(HL7Version.v251, 17, HL7Repeat.True, HL7Required.True,"XAD")]
  	    [HL7Field(HL7Version.v26, 17, HL7Repeat.True, HL7Required.True,"XAD")]
  	    [HL7Field(HL7Version.v27, 17, HL7Repeat.True, HL7Required.True,"XAD")]
	    public XAD[] GuarantorEmployerAddress {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("18 Guarantor Employer Phone Number",18)]
  	    [HL7Field(HL7Version.v23, 18, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v231, 18, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v24, 18, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v25, 18, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v251, 18, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v26, 18, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v27, 18, HL7Repeat.True, HL7Required.True,"XTN")]
	    public XTN[] GuarantorEmployerPhoneNumber {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("19 Guarantor Employee ID Number",19)]
  	    [HL7Field(HL7Version.v23, 19, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v231, 19, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v24, 19, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v25, 19, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v251, 19, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v26, 19, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v27, 19, HL7Repeat.True, HL7Required.True,"CX")]
	    public CX[] GuarantorEmployeeIDNumber {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("20 Guarantor Employment Status",20)]
  	    [HL7Field(HL7Version.v23, 20, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 20, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v24, 20, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v25, 20, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v251, 20, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v26, 20, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v27, 20, HL7Repeat.False, HL7Required.True,"CWE")]
		[EmploymentStatus]
	    public CWE GuarantorEmploymentStatus {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("21 Guarantor Organization Name",21)]
  	    [HL7Field(HL7Version.v23, 21, HL7Repeat.True, HL7Required.True,"XON")]
  	    [HL7Field(HL7Version.v231, 21, HL7Repeat.True, HL7Required.True,"XON")]
  	    [HL7Field(HL7Version.v24, 21, HL7Repeat.True, HL7Required.True,"XON")]
  	    [HL7Field(HL7Version.v25, 21, HL7Repeat.True, HL7Required.True,"XON")]
  	    [HL7Field(HL7Version.v251, 21, HL7Repeat.True, HL7Required.True,"XON")]
  	    [HL7Field(HL7Version.v26, 21, HL7Repeat.True, HL7Required.True,"XON")]
  	    [HL7Field(HL7Version.v27, 21, HL7Repeat.True, HL7Required.True,"XON")]
	    public XON[] GuarantorOrganizationName {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("22 Guarantor Billing Hold Flag",22)]
  	    [HL7Field(HL7Version.v23, 22, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v231, 22, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v24, 22, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v25, 22, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v251, 22, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v26, 22, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v27, 22, HL7Repeat.False, HL7Required.True,"ID")]
		[YesnoIndicator]
	    public ID GuarantorBillingHoldFlag {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("23 Guarantor Credit Rating Code",23)]
  	    [HL7Field(HL7Version.v23, 23, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v231, 23, HL7Repeat.False, HL7Required.True,"CE_0341")]
  	    [HL7Field(HL7Version.v24, 23, HL7Repeat.False, HL7Required.True,"CE_0341")]
  	    [HL7Field(HL7Version.v25, 23, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 23, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 23, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 23, HL7Repeat.False, HL7Required.True,"CWE")]
		[GuarantorCreditRatingCode]
	    public CWE GuarantorCreditRatingCode {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("24 Guarantor Death Date And Time",24)]
  	    [HL7Field(HL7Version.v23, 24, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v231, 24, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v24, 24, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v25, 24, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v251, 24, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v26, 24, HL7Repeat.False, HL7Required.True,"DTM")]
  	    [HL7Field(HL7Version.v27, 24, HL7Repeat.False, HL7Required.True,"DTM")]
	    public DTM GuarantorDeathDateAndTime {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("25 Guarantor Death Flag",25)]
  	    [HL7Field(HL7Version.v23, 25, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v231, 25, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v24, 25, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v25, 25, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v251, 25, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v26, 25, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v27, 25, HL7Repeat.False, HL7Required.True,"ID")]
		[YesnoIndicator]
	    public ID GuarantorDeathFlag {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("26 Guarantor Charge Adjustment Code",26)]
  	    [HL7Field(HL7Version.v23, 26, HL7Repeat.False, HL7Required.True,"CE_0218")]
  	    [HL7Field(HL7Version.v231, 26, HL7Repeat.False, HL7Required.True,"CE_0218")]
  	    [HL7Field(HL7Version.v24, 26, HL7Repeat.False, HL7Required.True,"CE_0218")]
  	    [HL7Field(HL7Version.v25, 26, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 26, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 26, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 26, HL7Repeat.False, HL7Required.True,"CWE")]
		[PatientChargeAdjustment]
	    public CWE GuarantorChargeAdjustmentCode {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("27 Guarantor Household Annual Income",27)]
  	    [HL7Field(HL7Version.v23, 27, HL7Repeat.False, HL7Required.True,"CP")]
  	    [HL7Field(HL7Version.v231, 27, HL7Repeat.False, HL7Required.True,"CP")]
  	    [HL7Field(HL7Version.v24, 27, HL7Repeat.False, HL7Required.True,"CP")]
  	    [HL7Field(HL7Version.v25, 27, HL7Repeat.False, HL7Required.True,"CP")]
  	    [HL7Field(HL7Version.v251, 27, HL7Repeat.False, HL7Required.True,"CP")]
  	    [HL7Field(HL7Version.v26, 27, HL7Repeat.False, HL7Required.True,"CP")]
  	    [HL7Field(HL7Version.v27, 27, HL7Repeat.False, HL7Required.True,"CP")]
	    public CP GuarantorHouseholdAnnualIncome {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("28 Guarantor Household Size",28)]
  	    [HL7Field(HL7Version.v23, 28, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v231, 28, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v24, 28, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v25, 28, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v251, 28, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v26, 28, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v27, 28, HL7Repeat.False, HL7Required.True,"NM")]
	    public NM GuarantorHouseholdSize {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("29 Guarantor Employer ID Number",29)]
  	    [HL7Field(HL7Version.v23, 29, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v231, 29, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v24, 29, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v25, 29, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v251, 29, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v26, 29, HL7Repeat.True, HL7Required.True,"CX")]
  	    [HL7Field(HL7Version.v27, 29, HL7Repeat.True, HL7Required.True,"CX")]
	    public CX[] GuarantorEmployerIDNumber {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("30 Guarantor Marital Status Code",30)]
  	    [HL7Field(HL7Version.v23, 30, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 30, HL7Repeat.False, HL7Required.True,"CE_0002")]
  	    [HL7Field(HL7Version.v24, 30, HL7Repeat.False, HL7Required.True,"CE_0002")]
  	    [HL7Field(HL7Version.v25, 30, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 30, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 30, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 30, HL7Repeat.False, HL7Required.True,"CWE")]
		[MaritalStatus]
	    public CWE GuarantorMaritalStatusCode {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("31 Guarantor Hire Effective Date",31)]
  	    [HL7Field(HL7Version.v23, 31, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v231, 31, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v24, 31, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v25, 31, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v251, 31, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v26, 31, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v27, 31, HL7Repeat.False, HL7Required.True,"DT")]
	    public DT GuarantorHireEffectiveDate {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("32 Employment Stop Date",32)]
  	    [HL7Field(HL7Version.v23, 32, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v231, 32, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v24, 32, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v25, 32, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v251, 32, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v26, 32, HL7Repeat.False, HL7Required.True,"DT")]
  	    [HL7Field(HL7Version.v27, 32, HL7Repeat.False, HL7Required.True,"DT")]
	    public DT EmploymentStopDate {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("33 Living Dependency",33)]
  	    [HL7Field(HL7Version.v23, 33, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 33, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v24, 33, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v25, 33, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v251, 33, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v26, 33, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v27, 33, HL7Repeat.False, HL7Required.True,"CWE")]
		[LivingDependency]
	    public CWE LivingDependency {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("34 Ambulatory Status",34)]
  	    [HL7Field(HL7Version.v23, 34, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 34, HL7Repeat.True, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v24, 34, HL7Repeat.True, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v25, 34, HL7Repeat.True, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v251, 34, HL7Repeat.True, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v26, 34, HL7Repeat.True, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v27, 34, HL7Repeat.True, HL7Required.True,"CWE")]
		[AmbulatoryStatus]
	    public CWE[] AmbulatoryStatus {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("35 Citizenship",35)]
  	    [HL7Field(HL7Version.v23, 35, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 35, HL7Repeat.True, HL7Required.True,"CE_0171")]
  	    [HL7Field(HL7Version.v24, 35, HL7Repeat.True, HL7Required.True,"CE_0171")]
  	    [HL7Field(HL7Version.v25, 35, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 35, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 35, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 35, HL7Repeat.True, HL7Required.True,"CWE")]
		[Citizenship]
	    public CWE[] Citizenship {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("36 Primary Language",36)]
  	    [HL7Field(HL7Version.v23, 36, HL7Repeat.False, HL7Required.True,"CE_0296")]
  	    [HL7Field(HL7Version.v231, 36, HL7Repeat.False, HL7Required.True,"CE_0296")]
  	    [HL7Field(HL7Version.v24, 36, HL7Repeat.False, HL7Required.True,"CE_0296")]
  	    [HL7Field(HL7Version.v25, 36, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 36, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 36, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 36, HL7Repeat.False, HL7Required.True,"CWE")]
		[PrimaryLanguage]
	    public CWE PrimaryLanguage {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("37 Living Arrangement",37)]
  	    [HL7Field(HL7Version.v23, 37, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 37, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v24, 37, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v25, 37, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v251, 37, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v26, 37, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v27, 37, HL7Repeat.False, HL7Required.True,"CWE")]
		[LivingArrangement]
	    public CWE LivingArrangement {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("38 Publicity Indicator",38)]
  	    [HL7Field(HL7Version.v23, 38, HL7Repeat.False, HL7Required.True,"CE_0215")]
  	    [HL7Field(HL7Version.v231, 38, HL7Repeat.False, HL7Required.True,"CE_0215")]
  	    [HL7Field(HL7Version.v24, 38, HL7Repeat.False, HL7Required.True,"CE_0215")]
  	    [HL7Field(HL7Version.v25, 38, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 38, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 38, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 38, HL7Repeat.False, HL7Required.True,"CWE")]
		[PublicityCode]
	    public CWE PublicityIndicator {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("39 Protection Indicator",39)]
  	    [HL7Field(HL7Version.v23, 39, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v231, 39, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v24, 39, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v25, 39, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v251, 39, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v26, 39, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v27, 39, HL7Repeat.False, HL7Required.True,"ID")]
		[YesnoIndicator]
	    public ID ProtectionIndicator {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("40 Student Indicator",40)]
  	    [HL7Field(HL7Version.v23, 40, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 40, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v24, 40, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v25, 40, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v251, 40, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v26, 40, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v27, 40, HL7Repeat.False, HL7Required.True,"CWE")]
		[StudentStatus]
	    public CWE StudentIndicator {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("41 Religion",41)]
  	    [HL7Field(HL7Version.v23, 41, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 41, HL7Repeat.False, HL7Required.True,"CE_0006")]
  	    [HL7Field(HL7Version.v24, 41, HL7Repeat.False, HL7Required.True,"CE_0006")]
  	    [HL7Field(HL7Version.v25, 41, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 41, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 41, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 41, HL7Repeat.False, HL7Required.True,"CWE")]
		[Religion]
	    public CWE Religion {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("42 Mother's Maiden Name",42)]
  	    [HL7Field(HL7Version.v23, 42, HL7Repeat.False, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v231, 42, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v24, 42, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v25, 42, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v251, 42, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v26, 42, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v27, 42, HL7Repeat.True, HL7Required.True,"XPN")]
	    public XPN[] MothersMaidenName {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("43 Nationality Code",43)]
  	    [HL7Field(HL7Version.v23, 43, HL7Repeat.False, HL7Required.True,"CE_0212")]
  	    [HL7Field(HL7Version.v231, 43, HL7Repeat.False, HL7Required.True,"CE_0212")]
  	    [HL7Field(HL7Version.v24, 43, HL7Repeat.False, HL7Required.True,"CE_0212")]
  	    [HL7Field(HL7Version.v25, 43, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 43, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 43, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 43, HL7Repeat.False, HL7Required.True,"CWE")]
		[Nationality]
	    public CWE NationalityCode {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("44 Ethnic Group",44)]
  	    [HL7Field(HL7Version.v23, 44, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 44, HL7Repeat.True, HL7Required.True,"CE_0189")]
  	    [HL7Field(HL7Version.v24, 44, HL7Repeat.True, HL7Required.True,"CE_0189")]
  	    [HL7Field(HL7Version.v25, 44, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 44, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 44, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 44, HL7Repeat.True, HL7Required.True,"CWE")]
		[EthnicGroup]
	    public CWE[] EthnicGroup {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("45 Contact Person's Name",45)]
  	    [HL7Field(HL7Version.v23, 45, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v231, 45, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v24, 45, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v25, 45, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v251, 45, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v26, 45, HL7Repeat.True, HL7Required.True,"XPN")]
  	    [HL7Field(HL7Version.v27, 45, HL7Repeat.True, HL7Required.True,"XPN")]
		[NameType]
	    public XPN[] ContactPersonsName {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("46 Contact Person's Telephone Number",46)]
  	    [HL7Field(HL7Version.v23, 46, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v231, 46, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v24, 46, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v25, 46, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v251, 46, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v26, 46, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v27, 46, HL7Repeat.True, HL7Required.True,"XTN")]
	    public XTN[] ContactPersonsTelephoneNumber {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("47 Contact Reason",47)]
  	    [HL7Field(HL7Version.v23, 47, HL7Repeat.False, HL7Required.True,"CE_0222")]
  	    [HL7Field(HL7Version.v231, 47, HL7Repeat.False, HL7Required.True,"CE_0222")]
  	    [HL7Field(HL7Version.v24, 47, HL7Repeat.False, HL7Required.True,"CE_0222")]
  	    [HL7Field(HL7Version.v25, 47, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 47, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 47, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 47, HL7Repeat.False, HL7Required.True,"CWE")]
		[ContactReason]
	    public CWE ContactReason {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("48 Contact Relationship Code",48)]
  	    [HL7Field(HL7Version.v23, 48, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 48, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v24, 48, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v25, 48, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v251, 48, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v26, 48, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v27, 48, HL7Repeat.False, HL7Required.True,"CWE")]
		[Relationship]
	    public CWE ContactRelationshipCode {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("49 Job Title",49)]
  	    [HL7Field(HL7Version.v23, 49, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v231, 49, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v24, 49, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v25, 49, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v251, 49, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v26, 49, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v27, 49, HL7Repeat.False, HL7Required.True,"ST")]
	    public ST JobTitle {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("50 Job Code/Class",50)]
  	    [HL7Field(HL7Version.v23, 50, HL7Repeat.False, HL7Required.True,"JCC")]
  	    [HL7Field(HL7Version.v231, 50, HL7Repeat.False, HL7Required.True,"JCC")]
  	    [HL7Field(HL7Version.v24, 50, HL7Repeat.False, HL7Required.True,"JCC")]
  	    [HL7Field(HL7Version.v25, 50, HL7Repeat.False, HL7Required.True,"JCC")]
  	    [HL7Field(HL7Version.v251, 50, HL7Repeat.False, HL7Required.True,"JCC")]
  	    [HL7Field(HL7Version.v26, 50, HL7Repeat.False, HL7Required.True,"JCC")]
  	    [HL7Field(HL7Version.v27, 50, HL7Repeat.False, HL7Required.True,"JCC")]
		[JobCode]
	    public JCC JobCodeClass {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("51 Guarantor Employer's Organization Name",51)]
  	    [HL7Field(HL7Version.v23, 51, HL7Repeat.True, HL7Required.True,"XON")]
  	    [HL7Field(HL7Version.v231, 51, HL7Repeat.True, HL7Required.True,"XON")]
  	    [HL7Field(HL7Version.v24, 51, HL7Repeat.True, HL7Required.True,"XON")]
  	    [HL7Field(HL7Version.v25, 51, HL7Repeat.True, HL7Required.True,"XON")]
  	    [HL7Field(HL7Version.v251, 51, HL7Repeat.True, HL7Required.True,"XON")]
  	    [HL7Field(HL7Version.v26, 51, HL7Repeat.True, HL7Required.True,"XON")]
  	    [HL7Field(HL7Version.v27, 51, HL7Repeat.True, HL7Required.True,"XON")]
	    public XON[] GuarantorEmployersOrganizationName {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("52 Handicap",52)]
  	    [HL7Field(HL7Version.v23, 52, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 52, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v24, 52, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v25, 52, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v251, 52, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v26, 52, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v27, 52, HL7Repeat.False, HL7Required.True,"CWE")]
		[Handicap]
	    public CWE Handicap {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("53 Job Status",53)]
  	    [HL7Field(HL7Version.v23, 53, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 53, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v24, 53, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v25, 53, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v251, 53, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v26, 53, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v27, 53, HL7Repeat.False, HL7Required.True,"CWE")]
		[JobStatus]
	    public CWE JobStatus {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("54 Guarantor Financial Class",54)]
  	    [HL7Field(HL7Version.v23, 54, HL7Repeat.False, HL7Required.True,"FC")]
  	    [HL7Field(HL7Version.v231, 54, HL7Repeat.False, HL7Required.True,"FC")]
  	    [HL7Field(HL7Version.v24, 54, HL7Repeat.False, HL7Required.True,"FC")]
  	    [HL7Field(HL7Version.v25, 54, HL7Repeat.False, HL7Required.True,"FC")]
  	    [HL7Field(HL7Version.v251, 54, HL7Repeat.False, HL7Required.True,"FC")]
  	    [HL7Field(HL7Version.v26, 54, HL7Repeat.False, HL7Required.True,"FC")]
  	    [HL7Field(HL7Version.v27, 54, HL7Repeat.False, HL7Required.True,"FC")]
	    public FC GuarantorFinancialClass {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("55 Guarantor Race",55)]
  	    [HL7Field(HL7Version.v23, 55, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v231, 55, HL7Repeat.True, HL7Required.True,"CE_0005")]
  	    [HL7Field(HL7Version.v24, 55, HL7Repeat.True, HL7Required.True,"CE_0005")]
  	    [HL7Field(HL7Version.v25, 55, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 55, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 55, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 55, HL7Repeat.True, HL7Required.True,"CWE")]
		[Race]
	    public CWE[] GuarantorRace {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("56 Guarantor Birth Place",56)]
  	    [HL7Field(HL7Version.v25, 56, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v251, 56, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v26, 56, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v27, 56, HL7Repeat.False, HL7Required.True,"ST")]
	    public ST GuarantorBirthPlace {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("57 VIP Indicator",57)]
  	    [HL7Field(HL7Version.v25, 57, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v251, 57, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v26, 57, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v27, 57, HL7Repeat.False, HL7Required.True,"CWE")]
		[VIPIndicator]
	    public CWE VIPIndicator {get;set;}


	    [DataMember]
        [PropertyClassification("AdditionalValue1", 58)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue1 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue2", 59)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue2 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue3", 60)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue3 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue4", 61)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue4 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue5", 62)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue5 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue6", 63)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue6 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue7", 64)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue7 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue8", 65)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue8 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue9", 66)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue9 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue10", 67)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue10 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue11", 68)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue11 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue12", 69)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue12 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue13", 70)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue13 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue14", 71)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue14 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue15", 72)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue15 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue16", 73)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue16 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue17", 74)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue17 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue18", 75)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue18 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue19", 76)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue19 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue20", 77)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue20 { get; set; }

	

		internal override void ConsumeTextSegment(string segmentTextData, HL7ParserOptions options)
		{
			string[] segmentTextParts = segmentTextData.Split(new char[] { options.FieldSep }, StringSplitOptions.None);
			SetIDGuarantor = (SI)ParseTextAtPositionIntoData(segmentTextParts, 1, options, typeof(SI), "GT1.1");
	    	GuarantorNumber = (CX[])ParseTextAtPositionIntoDataArray<CX>(segmentTextParts, 2, options, "GT1.2");
	    	GuarantorName = (XPN[])ParseTextAtPositionIntoDataArray<XPN>(segmentTextParts, 3, options, "GT1.3");
	    	GuarantorSpouseName = (XPN[])ParseTextAtPositionIntoDataArray<XPN>(segmentTextParts, 4, options, "GT1.4");
	    	GuarantorAddress = (XAD[])ParseTextAtPositionIntoDataArray<XAD>(segmentTextParts, 5, options, "GT1.5");
	    	GuarantorPhNumHome = (XTN[])ParseTextAtPositionIntoDataArray<XTN>(segmentTextParts, 6, options, "GT1.6");
	    	GuarantorPhNumBusiness = (XTN[])ParseTextAtPositionIntoDataArray<XTN>(segmentTextParts, 7, options, "GT1.7");
			GuarantorDateTimeOfBirth = (DTM)ParseTextAtPositionIntoData(segmentTextParts, 8, options, typeof(DTM), "GT1.8");
			GuarantorSex = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 9, options, typeof(CWE), "GT1.9");
			GuarantorType = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 10, options, typeof(CWE), "GT1.10");
			GuarantorRelationship = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 11, options, typeof(CWE), "GT1.11");
			GuarantorSSN = (ST)ParseTextAtPositionIntoData(segmentTextParts, 12, options, typeof(ST), "GT1.12");
			GuarantorDateBegin = (DT)ParseTextAtPositionIntoData(segmentTextParts, 13, options, typeof(DT), "GT1.13");
			GuarantorDateEnd = (DT)ParseTextAtPositionIntoData(segmentTextParts, 14, options, typeof(DT), "GT1.14");
			GuarantorPriority = (NM)ParseTextAtPositionIntoData(segmentTextParts, 15, options, typeof(NM), "GT1.15");
	    	GuarantorEmployerName = (XPN[])ParseTextAtPositionIntoDataArray<XPN>(segmentTextParts, 16, options, "GT1.16");
	    	GuarantorEmployerAddress = (XAD[])ParseTextAtPositionIntoDataArray<XAD>(segmentTextParts, 17, options, "GT1.17");
	    	GuarantorEmployerPhoneNumber = (XTN[])ParseTextAtPositionIntoDataArray<XTN>(segmentTextParts, 18, options, "GT1.18");
	    	GuarantorEmployeeIDNumber = (CX[])ParseTextAtPositionIntoDataArray<CX>(segmentTextParts, 19, options, "GT1.19");
			GuarantorEmploymentStatus = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 20, options, typeof(CWE), "GT1.20");
	    	GuarantorOrganizationName = (XON[])ParseTextAtPositionIntoDataArray<XON>(segmentTextParts, 21, options, "GT1.21");
			GuarantorBillingHoldFlag = (ID)ParseTextAtPositionIntoData(segmentTextParts, 22, options, typeof(ID), "GT1.22");
			GuarantorCreditRatingCode = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 23, options, typeof(CWE), "GT1.23");
			GuarantorDeathDateAndTime = (DTM)ParseTextAtPositionIntoData(segmentTextParts, 24, options, typeof(DTM), "GT1.24");
			GuarantorDeathFlag = (ID)ParseTextAtPositionIntoData(segmentTextParts, 25, options, typeof(ID), "GT1.25");
			GuarantorChargeAdjustmentCode = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 26, options, typeof(CWE), "GT1.26");
			GuarantorHouseholdAnnualIncome = (CP)ParseTextAtPositionIntoData(segmentTextParts, 27, options, typeof(CP), "GT1.27");
			GuarantorHouseholdSize = (NM)ParseTextAtPositionIntoData(segmentTextParts, 28, options, typeof(NM), "GT1.28");
	    	GuarantorEmployerIDNumber = (CX[])ParseTextAtPositionIntoDataArray<CX>(segmentTextParts, 29, options, "GT1.29");
			GuarantorMaritalStatusCode = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 30, options, typeof(CWE), "GT1.30");
			GuarantorHireEffectiveDate = (DT)ParseTextAtPositionIntoData(segmentTextParts, 31, options, typeof(DT), "GT1.31");
			EmploymentStopDate = (DT)ParseTextAtPositionIntoData(segmentTextParts, 32, options, typeof(DT), "GT1.32");
			LivingDependency = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 33, options, typeof(CWE), "GT1.33");
	    	AmbulatoryStatus = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 34, options, "GT1.34");
	    	Citizenship = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 35, options, "GT1.35");
			PrimaryLanguage = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 36, options, typeof(CWE), "GT1.36");
			LivingArrangement = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 37, options, typeof(CWE), "GT1.37");
			PublicityIndicator = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 38, options, typeof(CWE), "GT1.38");
			ProtectionIndicator = (ID)ParseTextAtPositionIntoData(segmentTextParts, 39, options, typeof(ID), "GT1.39");
			StudentIndicator = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 40, options, typeof(CWE), "GT1.40");
			Religion = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 41, options, typeof(CWE), "GT1.41");
	    	MothersMaidenName = (XPN[])ParseTextAtPositionIntoDataArray<XPN>(segmentTextParts, 42, options, "GT1.42");
			NationalityCode = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 43, options, typeof(CWE), "GT1.43");
	    	EthnicGroup = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 44, options, "GT1.44");
	    	ContactPersonsName = (XPN[])ParseTextAtPositionIntoDataArray<XPN>(segmentTextParts, 45, options, "GT1.45");
	    	ContactPersonsTelephoneNumber = (XTN[])ParseTextAtPositionIntoDataArray<XTN>(segmentTextParts, 46, options, "GT1.46");
			ContactReason = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 47, options, typeof(CWE), "GT1.47");
			ContactRelationshipCode = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 48, options, typeof(CWE), "GT1.48");
			JobTitle = (ST)ParseTextAtPositionIntoData(segmentTextParts, 49, options, typeof(ST), "GT1.49");
			JobCodeClass = (JCC)ParseTextAtPositionIntoData(segmentTextParts, 50, options, typeof(JCC), "GT1.50");
	    	GuarantorEmployersOrganizationName = (XON[])ParseTextAtPositionIntoDataArray<XON>(segmentTextParts, 51, options, "GT1.51");
			Handicap = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 52, options, typeof(CWE), "GT1.52");
			JobStatus = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 53, options, typeof(CWE), "GT1.53");
			GuarantorFinancialClass = (FC)ParseTextAtPositionIntoData(segmentTextParts, 54, options, typeof(FC), "GT1.54");
	    	GuarantorRace = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 55, options, "GT1.55");
			GuarantorBirthPlace = (ST)ParseTextAtPositionIntoData(segmentTextParts, 56, options, typeof(ST), "GT1.56");
			VIPIndicator = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 57, options, typeof(CWE), "GT1.57");
		}

		public string GetER7(HL7ParserOptions options) {
			List<string> segmentParts = new List<string>();
			segmentParts.Add("GT1");
		    segmentParts.Add(SetIDGuarantor);
		    segmentParts.Add(GetER7TextForSegmentArrayPart(GuarantorNumber, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(GuarantorName, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(GuarantorSpouseName, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(GuarantorAddress, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(GuarantorPhNumHome, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(GuarantorPhNumBusiness, options));
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorDateTimeOfBirth, options));
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorSex, options));
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorType, options));
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorRelationship, options));
		    segmentParts.Add(GuarantorSSN);
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorDateBegin, options));
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorDateEnd, options));
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorPriority, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(GuarantorEmployerName, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(GuarantorEmployerAddress, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(GuarantorEmployerPhoneNumber, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(GuarantorEmployeeIDNumber, options));
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorEmploymentStatus, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(GuarantorOrganizationName, options));
		    segmentParts.Add(GuarantorBillingHoldFlag);
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorCreditRatingCode, options));
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorDeathDateAndTime, options));
		    segmentParts.Add(GuarantorDeathFlag);
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorChargeAdjustmentCode, options));
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorHouseholdAnnualIncome, options));
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorHouseholdSize, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(GuarantorEmployerIDNumber, options));
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorMaritalStatusCode, options));
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorHireEffectiveDate, options));
			segmentParts.Add(GetER7TextForSegmentPart(EmploymentStopDate, options));
			segmentParts.Add(GetER7TextForSegmentPart(LivingDependency, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(AmbulatoryStatus, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(Citizenship, options));
			segmentParts.Add(GetER7TextForSegmentPart(PrimaryLanguage, options));
			segmentParts.Add(GetER7TextForSegmentPart(LivingArrangement, options));
			segmentParts.Add(GetER7TextForSegmentPart(PublicityIndicator, options));
		    segmentParts.Add(ProtectionIndicator);
			segmentParts.Add(GetER7TextForSegmentPart(StudentIndicator, options));
			segmentParts.Add(GetER7TextForSegmentPart(Religion, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(MothersMaidenName, options));
			segmentParts.Add(GetER7TextForSegmentPart(NationalityCode, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(EthnicGroup, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(ContactPersonsName, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(ContactPersonsTelephoneNumber, options));
			segmentParts.Add(GetER7TextForSegmentPart(ContactReason, options));
			segmentParts.Add(GetER7TextForSegmentPart(ContactRelationshipCode, options));
		    segmentParts.Add(JobTitle);
			segmentParts.Add(GetER7TextForSegmentPart(JobCodeClass, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(GuarantorEmployersOrganizationName, options));
			segmentParts.Add(GetER7TextForSegmentPart(Handicap, options));
			segmentParts.Add(GetER7TextForSegmentPart(JobStatus, options));
			segmentParts.Add(GetER7TextForSegmentPart(GuarantorFinancialClass, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(GuarantorRace, options));
		    segmentParts.Add(GuarantorBirthPlace);
			segmentParts.Add(GetER7TextForSegmentPart(VIPIndicator, options));
			return string.Join("" + options.FieldSep, segmentParts.ToArray());
		}

    }
}

